package router

import (
	"github.com/3.27/internal/handler"
	"github.com/gin-gonic/gin"
)

func UserRouter(r *gin.RouterGroup) {
	user := r.Group("user")
	{
		user.POST("/login", handler.Login)
		user.POST("/smsCode", handler.SendCode)
		user.POST("/order/add", handler.OrderAdd)
		user.GET("/order/list", handler.OrderList)
	}

}
